接口测试测试报告

Start Time: 2020-06-27 11:16:22

Duration: 0:00:00.988906

Status: Pass 8 Error 8

测试案例执行结果

Show Summary Failed All

Test Group/Test case Count Pass Fail Error View
testApiData 16 8 0 8 Detail
test_case_001_01: 测试数据: {'number': 1.0, 'name': '正常GET', 'host': 'http://hn216.api.yesapi.cn', 'model': 'GET', 'data': 'app_key=B2F70096FD3977B3F183DFD952F4446B&text=HelloWorld&s=App.Scws.GetWords'}
pass
test_case_001_02: 测试数据: {'number': 2.0, 'name': 'key错误GET', 'host': 'http://hn216.api.yesapi.cn', 'model': 'GET', 'data': 'app_key=B2F70096FD3&text=HelloWorld&s=App.Scws.GetWords'}
pass
test_case_001_03: 测试数据: {'number': 3.0, 'name': 's异常GET', 'host': 'http://hn216.api.yesapi.cn', 'model': 'GET', 'data': 'app_key=B2F70096FD3977B3F183DFD952F4446B&text=HelloWorld&s=App.Scws.GetWor'}
pass
test_case_001_04: 测试数据: {'number': 4.0, 'name': '主机名异常', 'host': 'api.yesapi.cn', 'model': 'GET', 'data': 'app_key=B2F70096FD3977B3F183DFD952F4446B&text=HelloWorld&s=App.Scws.GetWords'}
error
test_case_001_05: 测试数据: {'number': 5.0, 'name': '正常POST', 'host': 'http://hn216.api.yesapi.cn', 'model': 'POST', 'data': 'data = {"s": "App.Scws.GetWords","app_key": "B2F70096FD3977B3F183DFD952F4446B","text": "HelloWorld。"}'}
error
test_case_001_06: 测试数据: {'number': 6.0, 'name': 'key错误POST', 'host': 'http://hn216.api.yesapi.cn', 'model': 'POST', 'data': 'data = {"s": "App.Scws.GetWords","app_key": "B2F73977B3F183DFD952F4446B","text": "HelloWorld"}'}
pass
test_case_001_07: 测试数据: {'number': 7.0, 'name': 's异常POST', 'host': 'http://hn216.api.yesapi.cn', 'model': 'POST', 'data': 'data = {"s": "App.Scws.Get","app_key": "B2F70096FD3977B3F183DFD952F4446B","text": "可以免费使用,基本上应用需要的数据都有接口提供。"}'}
error
test_case_001_08: 测试数据: {'number': 8.0, 'name': '主机名错误', 'host': 'http://hn216.api', 'model': 'POST', 'data': 'data = {"s": "App.Scws.GetWords","app_key": "B2F70096FD3977B3F183DFD952F4446B","text": "可以免费使用。"}'}
error
test_case_001_09: 测试数据: {'number': 9.0, 'name': '正常GET', 'host': 'http://hn216.api.yesapi.cn', 'model': 'GET', 'data': 'app_key=B2F70096FD3977B3F183DFD952F4446B&text=HelloWorld&s=App.Scws.GetWords'}
pass
test_case_001_10: 测试数据: {'number': 10.0, 'name': 'key错误GET', 'host': 'http://hn216.api.yesapi.cn', 'model': 'GET', 'data': 'app_key=B2F70096FD3&text=HelloWorld&s=App.Scws.GetWords'}
pass
test_case_001_11: 测试数据: {'number': 11.0, 'name': 's异常GET', 'host': 'http://hn216.api.yesapi.cn', 'model': 'GET', 'data': 'app_key=B2F70096FD3977B3F183DFD952F4446B&text=HelloWorld&s=App.Scws.GetWor'}
pass
test_case_001_12: 测试数据: {'number': 12.0, 'name': '主机名异常', 'host': 'api.yesapi.cn', 'model': 'GET', 'data': 'app_key=B2F70096FD3977B3F183DFD952F4446B&text=HelloWorld&s=App.Scws.GetWords'}
error
test_case_001_13: 测试数据: {'number': 13.0, 'name': '正常POST', 'host': 'http://hn216.api.yesapi.cn', 'model': 'POST', 'data': 'data = {"s": "App.Scws.GetWords","app_key": "B2F70096FD3977B3F183DFD952F4446B","text": "HelloWorld。"}'}
error
test_case_001_14: 测试数据: {'number': 14.0, 'name': 'key错误POST', 'host': 'http://hn216.api.yesapi.cn', 'model': 'POST', 'data': 'data = {"s": "App.Scws.GetWords","app_key": "B2F73977B3F183DFD952F4446B","text": "HelloWorld"}'}
pass
test_case_001_15: 测试数据: {'number': 15.0, 'name': 's异常POST', 'host': 'http://hn216.api.yesapi.cn', 'model': 'POST', 'data': 'data = {"s": "App.Scws.Get","app_key": "B2F70096FD3977B3F183DFD952F4446B","text": "可以免费使用,基本上应用需要的数据都有接口提供。"}'}
error
test_case_001_16: 测试数据: {'number': 16.0, 'name': '主机名错误', 'host': 'http://hn216.api', 'model': 'POST', 'data': 'data = {"s": "App.Scws.GetWords","app_key": "B2F70096FD3977B3F183DFD952F4446B","text": "可以免费使用。"}'}
error
Total 16 8 0 8